package cn.iocoder.yudao.module.statistics.controller.admin.shareprofit.vo;

import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum;
import cn.iocoder.yudao.framework.common.validation.InEnum;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 合伙人分润汇总-按店铺 VO")
@Data
@ExcelIgnoreUnannotated
public class StoreShareProfitVO {

    @Schema(description = "店铺名称", example = "赵六")
    @ExcelProperty("店铺名称")
    private String storeName;

    @Schema(description = "门店状态描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("门店状态")
    private String statusDesc;

    @Schema(description = "所属年月", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("所属年月")
    private String reportDate;

    @Schema(description = "月度实付金额，单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "17463")
    private Long orderPayPrice;

    @Schema(description = "月度实付金额，单位：元", requiredMode = Schema.RequiredMode.REQUIRED, example = "17463")
    @ExcelProperty("月度实付金额")
    private BigDecimal orderPayPriceExport;

    @Schema(description = "累计分润比例")
    private BigDecimal shareProfitRate;

    @Schema(description = "累计分润比例")
    @ExcelProperty("累计分润比例")
    private String shareProfitRateExport;

    @Schema(description = "分润金额，单位：分", example = "6870")
    private Long shareProfitPayPrice;

    @Schema(description = "分润金额，单位：元", example = "6870")
    @ExcelProperty("分润金额")
    private BigDecimal shareProfitPayPriceExport;

    @Schema(description = "店铺ID", example = "18319")
    private Long storeId;

    @Schema(description = "门店状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @InEnum(CommonStatusEnum.class)
    private Integer status;

}